revDatabaseColumnLengths
Type
function
Summary
Returns the maximum field sizes in a record set.
Syntax
revDatabaseColumnLengths(<recordSetID>)
Description
Use the revDatabaseColumnLengths function to find out how large a database field is.
Each item in the revDatabaseColumnLengths is the maximum size of a database field.
If the operation is not successful, the revDatabaseColumnLengths function returns an error message that begins with the string "revdberr".
The revDatabaseColumnLengths function is part of the Database library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure both the "Database" library checkbox and those of the database drivers you are using are checked.
Parameters
Name | Type | Description |
---|---|---|
recordSetID | The number returned by the revQueryDatabase function when the record set (database cursor) was created. |
Examples
revDatabaseColumnLengths(storedSet)
Related
function: revDatabaseColumnNamed, revDatabaseColumnTypes, revDatabaseColumnIsNull, revDatabaseColumnNumbered
glossary: LiveCode custom library, Standalone Application Settings, database field, standalone application, record set, return
keyword: string
library: Database library
control structure: function
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile